issuance settingsSet the master to automatically issue all certificates. we only need to create the autosign. conf file in the/etc/puppet directory. (You do not need to modify the/etc/puppet. conf file because the location of my default autosign. conf file is not modified)
Cat>/etc/puppet/autosign. conf
In this way, all requests from canghai.
/puppet # Where SSL certificates are kept. # The default value is '$ confdir/ssl '. ssldir = $ vardir/ssl [agent] # The file in which puppetd stores a list of the classes # associated with the retrieved provided atiion. can be loaded in # the separate ''puppet'' executable using the ''-- loadclasses'' # option. # The default value is '$ confdir/classes.txt '. classfile = $ vardir/classes.txt # Where puppetd caches the local configuration. an # extension indicating the cache format is added autom
certificateServer-side automatic certificate issuance settingsSet the master to automatically issue all certificates. We only need to create the autosign. conf file in the/etc/puppet directory. (You do not need to modify the/etc/puppet. conf file because the location of my default autosign. conf file is not modified)[Root @ master ~] # Ll/etc/puppet/
Total 28
-Rw-r --. 1 root 4178 Nov 4 06:24 auth. conf
Dr
Modify the puppet configuration file to automatically sign the client.1. edit/etc/puppet. conf.Add the following content:
[master]autosign=trueautosign = /etc/puppet/autosign.conf
2. edit/etc/puppet/autosign. conf.Adding * indicates all or adding a domain name. For example:
*.example.com
3. Restart puppetmaster
The above configuration, due to some problems in the storage of the environment, the custom inte
~] # Service puppet start
Puppet Master server configuration
1. Configure Automatic Authentication
Allow hosts in all redking.com domains to issue certificates automatically. Create the autosign. conf file.[Root @ master ~] # Cat>/etc/puppet/autosign. conf > * .Redking.com> EOF[Root @ master ~] #
Puppet Agent client Configuration
1. Modify the main configuration file puppet. conf of the client to add liste
the certificate when the Puppet is installed, this certificate is required for client and server communication, and I configured/etc/hosts in order to simplify the installation process. [[emailprotected] ~]# Vim/etc/hosts 127.0.0.1 localhost localhost.localdomain Localhost4 localhost4.localdomain4 ::1 localhost Localhost.localdomain localhost6 localhost6.localdomain6 192.168.37.72 master.com 192.168.37.83 client1.com 192.168.37.82 client2.com
Install puppet official source[ema
.rpm
Initiate authentication:
If you initiate the authentication for the first time, no certificate is displayed, because the server has not yet agreed
You can view the user who initiates the authentication request on the server.
Signature Certificate
Delete certificate
Puppet cert clean vm3.example.com
Check whether the authentication is successful on the client.
If the authentication is successful
Three servers implement automatic authentication
On the server side
Vim/etc/puppet. conf
the META-INF/COM/Google/Android directory, it mainly deletes some non-existing files and adds definitions such as the permissions of some files (the syntax is very clear and clear at a glance ). Prepare the APK installer that requires "pre-installation" to the refresh box and copy the APK to the system/APP directory. The boot. IMG won't be changed if it can be changed, because it involves driver and kernel issues and cannot be started when a problem occurs.
(6)re-package into update.zip$ Zip-r
scriptModify the update-Script script in the META-INF/COM/Google/Android directory, it mainly deletes some non-existing files and adds definitions such as the permissions of some files (the syntax is very clear and clear at a glance ). Prepare the APK installer that requires "pre-installation" to the refresh box and copy the APK to the system/APP directory. The boot. IMG won't be changed if it can be changed, because it involves driver and kernel issues and cannot be started when a problem occu
.
By the way, General decompilation changes:
1. decompile apktool or other tools including smalijava bytecode assembly and xml image files. 2. Decompress apkzip. 3. decompile dex into a java file. 4. Find the modified smali file or xml (AD link). 5. Package Apktool into an apk file. 6. Use autosign to sign the file. The original signature is not directly used for signature.
0x03 find the root cause
I downloaded the android 2.2 source code here and f
kernel issues and cannot be started when a problem occurs.
(6)re-package into update.zip$ Zip-r update.zip.
(7) signatures for well-prepared refresh accountsIn the link mentioned above, there is a tool named autosign. It is a jar toolkit. However, it is depressing that the author of this Toolkit forgot to add the following name to manifest. MF when creating the jar package:Main-class: testsignI tried to solve this problem by using the tool and re-cr
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.